package com.jf.jsp;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:22954
 * Date:2024-08-30
 * Time:16:43
 */
public class Monster {
    String name;
    String skill;
    double value;

    public Monster(String name, String skill, double value) {
        this.name = name;
        this.skill = skill;
        this.value = value;
    }

    public Monster(String name, String skill) {
        this.name = name;
        this.skill = skill;
    }

    public String getName() {
        return name;
    }

    public String getSkill() {
        return skill;
    }

    public double getValue() {
        return value;
    }

    @Override
    public String toString() {
        return "Monster{" +
                "name='" + name + '\'' +
                ", skill='" + skill + '\'' +
                '}';
    }
}
